{% load i18n %} 
  <script>
  $(document).ready(function(){
        $.getJSON("/blogs/api/comments/",
            function(data){
              $.each(data, function(i,item){
                comment = "<li><a href=\"" + item.url + "\" target=\"_blank\">" + item.author + 
                    ": " + item.content + "</a></li>";
                
                $("#recent_comments").append(comment);
              });
            });
      });
  </script>
  <li class="sidebar">
    <h2><strong>{% trans 'Recent comments' %}</strong></h2>
      <ul id="recent_comments">
      </ul>
  </li>
